package com.jic.product.mapper;
import com.jic.product.model.entity.MProductSearchHistory;

import java.util.List;
public interface MProductSearchHistoryMapper {
	/**
	 * M_PRODUCT_SEARCH_HISTORY插入数据
	 * @param mProductSearchHistory 入参实体类
	 */
	int insert(MProductSearchHistory mProductSearchHistory);

	/**
	 * M_PRODUCT_SEARCH_HISTORY插入数据
	 * @param mProductSearchHistory 入参实体类
	 */
	int insertSelective(MProductSearchHistory mProductSearchHistory);

	/**
	 * M_PRODUCT_SEARCH_HISTORY根据表对象数据修改数据
	 * @param mProductSearchHistory 入参实体类
	 */
	int updateByPrimaryKey(MProductSearchHistory mProductSearchHistory);

	/**
	 * M_PRODUCT_SEARCH_HISTORY根据表对象数据修改数据
	 * @param mProductSearchHistory 入参实体类
	 */
	int updateByPrimaryKeySelective(MProductSearchHistory mProductSearchHistory);

	/**
	 * M_PRODUCT_SEARCH_HISTORY根据id删除数据
	 * @param mProductSearchHistory 入参实体类
	 */
	int deleteByPrimaryKey(MProductSearchHistory mProductSearchHistory);

	/**
	 * M_PRODUCT_SEARCH_HISTORY根据主键查询数据
	 * @param mProductSearchHistory 入参实体类
	 */
	MProductSearchHistory selectByPrimaryKey(MProductSearchHistory mProductSearchHistory);

	/**
	 * M_PRODUCT_SEARCH_HISTORY根据主键查询数据
	 * @param mProductSearchHistory 入参实体类
	 */
	List<MProductSearchHistory> listPageBySelective(MProductSearchHistory mProductSearchHistory);

	/**
	 * M_PRODUCT_SEARCH_HISTORY查询数据
	 * @param mProductSearchHistory 入参实体类
	 */
	List<MProductSearchHistory>  selectBySelective(MProductSearchHistory mProductSearchHistory);

	/**
	 * 前端查询历史搜索
	 * M_PRODUCT_SEARCH_HISTORY查询数据
	 * @param mProductSearchHistory 入参实体类
	 */
	List<MProductSearchHistory>  queryMProductSearchHistoryList(MProductSearchHistory mProductSearchHistory);

	/**
	 * 通过用户id逻辑删除
	 * M_PRODUCT_SEARCH_HISTORY根据表对象数据修改数据
	 * @param mProductSearchHistory 入参实体类
	 */
	int updateByUserIdSelective(MProductSearchHistory mProductSearchHistory);

	}
